package com.lagou.service;

/**
 * @author yangpeng
 * @time 2020/5/21
 * @since 1.0.0
 */
public class NodeContentInfo {
    private String ip;
    private Integer port;
    private Long responseTime;
    private Long expireTime;

    public NodeContentInfo(){
        super();
    }

    public NodeContentInfo(String ip, Integer port, Long responseTime, Long expireTime){
        this.ip = ip;
        this.port = port;
        this.responseTime = responseTime;
        this.expireTime = expireTime;
    }

    public Long getResponseTime() {
        return responseTime;
    }

    public void setResponseTime(Long responseTime) {
        this.responseTime = responseTime;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

}
